package com.zytech.zspider.task;

import com.zytech.zspider.core.SpiderDefinition;
import com.zytech.zspider.core.TaskDefinition;

import java.util.Iterator;

/**
 * @author siuming
 */
public interface TaskAssembler {

    /**
     * @param def
     * @return
     */
    Iterator<TaskDefinition> assembleTasks(SpiderDefinition def);
}
